using System;
using System.Collections.Generic;
using System.Text;

namespace Colman.Rpg.Messaging
{
    /// <summary>
    /// Represents a request to add points to the character.
    /// </summary>
    [Serializable]
    public class PlayerPointsAdditionRequest : RequestMessage
    {
        /// <summary>
        /// Creates a new instance of <see cref="PlayerPointsAdditionRequest" />.
        /// </summary>
        /// <param name="ap">Represents the attack points added.</param>
        /// <param name="dp">Represents the defense points added.</param>
        [System.Diagnostics.DebuggerStepThrough]
        public PlayerPointsAdditionRequest(int ap, int dp)
        {
            this.ap = ap;
            this.dp = dp;
        }

        #region int AP { get; } (ap)
        private int ap;

        /// <summary>
        /// Gets the attack points added.
        /// </summary>
        public int AP
        {
            [System.Diagnostics.DebuggerStepThrough]
            get
            {
                return this.ap;
            }
        }
        #endregion

        #region int DP { get; } (dp)
        private int dp;

        /// <summary>
        /// Gets the defense points added.
        /// </summary>
        public int DP
        {
            [System.Diagnostics.DebuggerStepThrough]
            get
            {
                return this.dp;
            }
        }
        #endregion
    }
}
